package pkg.lbmg.org;

import android.util.Log;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class Place {
	
	public int id;
	public String name;
	
	public GeoPoint gpoint;
	
	public int latE6;
	public int lonE6;
	
	public OverlayItem icon;
	
	public boolean clickable;
	
	public Place(int Id, String Name, Double Lat, Double Lon, boolean Click){
		this.id = Id;
		this.name = Name;
		
		Lat = Lat * 1E6;
		Lon = Lon * 1E6;
		
		this.latE6 = Lat.intValue();
		this.lonE6 = Lon.intValue();

		this.gpoint = new GeoPoint(this.latE6, this.lonE6);
		
		this.clickable = Click;
		
		Log.d("NPLA",""+this.gpoint.getLatitudeE6());
	}

}
